<?php
if(!isset($install_module)) exit;
$Query ='
CREATE TABLE immo_contact_reply (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`contact` INT( 10 ) NOT NULL ,
`sujet` VARCHAR( 200 ) NOT NULL ,
`message` TEXT NOT NULL ,
`date_reply` INT( 50 ) NOT NULL ,
`auteur` INT( 10 ) NOT NULL
) ENGINE = MYISAM ;
';
$db->sql_query($Query);
echo '<div>Table <strong>immo_contact_reply</strong> cree.</div>';
$QueryArray = array(
'name'  =>  'Contact',
'fichier'   =>  'Contact',
'version'   =>  '1.0',
'date_install'  =>  time(),
'date_version'  =>  'Avril 2010',
'install'   =>  '1',
'actif' =>  '1',
'auteur'    =>  'Drouche Romain',
'description_short' =>  'Gestion ameliorer des contacts.',
);
$db->sql_query(CreateQueryInsert($QueryArray,'immo_plugins'));
echo '<div>Plugin declare et installe</div>';
echo '<div>Installation finie</div>';
?>
